import java.time.LocalDate;

public class Product {
    private Integer id;
    private LocalDate pubdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDate getPubdate() {
        return pubdate;
    }

    public void setPubdate(LocalDate pubdate) {
        this.pubdate = pubdate;
    }

    @Override
    public String toString() {
        return "Product{" +
                "id=" + id +
                ", pubdate=" + pubdate +
                '}';
    }
}
